home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
53142
/
53142.xpi
/
content
/
options.xul
< prev
next >
Wrap
Extensible Markup Language
|
2009-12-07
|
9KB
|
209 lines
<?xml version="1.0"?>
<!-- #######################################################################
Copyright 2009 Tim Reid
This file is part of the Stack Overflow Reputation Display extension
for Mozilla Firefox.
Stack Overflow Reputation Display is free software: you can
redistribute it and/or modify it under the terms of the GNU General
Public License as published by the Free Software Foundation, either
version 3 of the License, or (at your option) any later version.
Stack Overflow Reputation Display is distributed in the hope that it
will be useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public
License along with Stack Overflow Reputation Display. If not,
see <http://www.gnu.org/licenses/>.
######################################################################## -->
<!DOCTYPE dialog SYSTEM "chrome://sorepdisplay/locale/sorepdisplay.dtd">
<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
<?xml-stylesheet href="chrome://sorepdisplay/skin/sorepdisplay.css" type="text/css"?>
<dialog id="sorepdisplayoptions" title="Stack Overflow Reputation Display options"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
buttons="accept,cancel"
buttonlabelcancel="Cancel"
buttonlabelaccept="Save"
ondialogaccept="return sorepoptions.doOK();"
ondialogcancel="return sorepoptions.doCancel();">
<script src="sosite.js"/>
<script src="soaccount.js"/>
<script src="options.js"/>
<hbox pack="center">
<image src="chrome://sorepdisplay/skin/sologotrimmed.png"/>
<description class="titletext">&options.label.title;</description>
</hbox>
<spacer height="8px"/>
<hbox width="100" pack="center">
<vbox>
<richlistbox id="listbox" flex="1" width="200" rows="2" disabled="false" height="120"/>
<hbox>
<button id="add" style="min-width: 2em;" label="Add"/>
<spacer flex="1"/>
<button id="delete" style="min-width: 2em;" label="Delete"/>
</hbox>
</vbox>
<groupbox>
<!-- caption label="Stack Overflow"/ -->
<grid>
<columns>
<column flex="1"/>
<column flex="1"/>
</columns>
<rows>
<row align="center">
<label value="Site:" control="site"/>
<menulist id="site"/>
</row>
<row align="center">
<label value="User:"/>
<hbox align="center">
<label id="userlabel"/>
<spacer flex="1"/>
<button id="clear" style="min-width: 0px;" label="Clear"/>
</hbox>
</row>
<row align="center">
<label value="&options.label.update;:" control="interval"/>
<menulist id="interval"/>
</row>
<row align="center">
<label value="&options.label.clickaction;:" control="clickaction"/>
<menulist id="clickaction"/>
</row>
<row align="center">
<spacer/>
<checkbox id="dosounds" label="Enable sound effects" checked="true"/>
</row>
<!--
<row align="center">
<label value="Animation:" control="animation"/>
<checkbox id="animation" label="Animation"/>
</row>
-->
</rows>
</grid>
</groupbox>
</hbox>
<hbox>
<spacer flex="1"/>
<groupbox>
<caption label="Display properties"/>
<grid>
<columns>
<column flex="1"/>
<column flex="1"/>
</columns>
<rows>
<row align="center">
<label value="Reputation score text color:"/>
<menulist>
<hbox id="repcolorpicker-hb" class="swatch" style="background-color: #444444;"/>
<dropmarker/>
<menupopup id="repcolorpicker-mp" class="colorpicker">
<hbox class="swatch" style="background-color: #444444;" align="center" pack="center">
<!-- label style="font-weight: bold;" value="default"/ -->
</hbox>
<hbox>
<hbox class="swatch" style="background-color: #fcc;"/>
<hbox class="swatch" style="background-color: #cfc;"/>
<hbox class="swatch" style="background-color: #ccf;"/>
<hbox class="swatch" style="background-color: #cff;"/>
<hbox class="swatch" style="background-color: #fcf;"/>
<hbox class="swatch" style="background-color: #ffc;"/>
<hbox class="swatch" style="background-color: #fff;"/>
</hbox>
<hbox>
<hbox class="swatch" style="background-color: #c66;"/>
<hbox class="swatch" style="background-color: #6c6;"/>
<hbox class="swatch" style="background-color: #66c;"/>
<hbox class="swatch" style="background-color: #6cc;"/>
<hbox class="swatch" style="background-color: #c6c;"/>
<hbox class="swatch" style="background-color: #cc6;"/>
<hbox class="swatch" style="background-color: #ccc;"/>
</hbox>
<hbox>
<hbox class="swatch" style="background-color: #933;"/>
<hbox class="swatch" style="background-color: #393;"/>
<hbox class="swatch" style="background-color: #339;"/>
<hbox class="swatch" style="background-color: #399;"/>
<hbox class="swatch" style="background-color: #939;"/>
<hbox class="swatch" style="background-color: #993;"/>
<hbox class="swatch" style="background-color: #666;"/>
</hbox>
<hbox>
<hbox class="swatch" style="background-color: #600;"/>
<hbox class="swatch" style="background-color: #060;"/>
<hbox class="swatch" style="background-color: #006;"/>
<hbox class="swatch" style="background-color: #066;"/>
<hbox class="swatch" style="background-color: #606;"/>
<hbox class="swatch" style="background-color: #660;"/>
<hbox class="swatch" style="background-color: #000;"/>
</hbox>
</menupopup>
</menulist>
</row>
<row align="center">
<label value="Badge count text color:"/>
<menulist>
<hbox id="badgecolorpicker-hb" class="swatch" style="background-color: #808185;"/>
<dropmarker/>
<menupopup id="badgecolorpicker-mp" class="colorpicker">
<hbox class="swatch" style="background-color: #808185;" align="center" pack="center">
<!-- label style="font-weight: bold;" value="default"/ -->
</hbox>
<hbox>
<hbox class="swatch" style="background-color: #fcc;"/>
<hbox class="swatch" style="background-color: #cfc;"/>
<hbox class="swatch" style="background-color: #ccf;"/>
<hbox class="swatch" style="background-color: #cff;"/>
<hbox class="swatch" style="background-color: #fcf;"/>
<hbox class="swatch" style="background-color: #ffc;"/>
<hbox class="swatch" style="background-color: #fff;"/>
</hbox>
<hbox>
<hbox class="swatch" style="background-color: #c66;"/>
<hbox class="swatch" style="background-color: #6c6;"/>
<hbox class="swatch" style="background-color: #66c;"/>
<hbox class="swatch" style="background-color: #6cc;"/>
<hbox class="swatch" style="background-color: #c6c;"/>
<hbox class="swatch" style="background-color: #cc6;"/>
<hbox class="swatch" style="background-color: #ccc;"/>
</hbox>
<hbox>
<hbox class="swatch" style="background-color: #933;"/>
<hbox class="swatch" style="background-color: #393;"/>
<hbox class="swatch" style="background-color: #339;"/>
<hbox class="swatch" style="background-color: #399;"/>
<hbox class="swatch" style="background-color: #939;"/>
<hbox class="swatch" style="background-color: #993;"/>
<hbox class="swatch" style="background-color: #666;"/>
</hbox>
<hbox>
<hbox class="swatch" style="background-color: #600;"/>
<hbox class="swatch" style="background-color: #060;"/>
<hbox class="swatch" style="background-color: #006;"/>
<hbox class="swatch" style="background-color: #066;"/>
<hbox class="swatch" style="background-color: #606;"/>
<hbox class="swatch" style="background-color: #660;"/>
<hbox class="swatch" style="background-color: #000;"/>
</hbox>
</menupopup>
</menulist>
</row>
</rows>
</grid>
</groupbox>
<spacer flex="1"/>
</hbox>
</dialog>